Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed component.trigger doesn't pass event object issue #1298 #1310

Merged
merged 2 commits into from
Jul 28, 2014

Conversation

bceacuna
Copy link

No description provided.

@heff
Copy link
Member

heff commented Jun 26, 2014

Thanks!

*
* @param {String} type The event type to trigger, e.g. 'click'
* @param {Event|Object} event The event object to be passed to the listener
* @param {Object} event either a string (the event type)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The jsdoc type here would be {Event|Object|String}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@heff heff merged commit d24a9b4 into videojs:master Jul 28, 2014
* @param {Element|Object} elem Element to trigger an event on
* @param {String} event Type of event to trigger
* @param {Element|Object} elem Element to trigger an event on
* @param {Event|Object|String} event either a string (the event type)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I had to change these comments to be single-line otherwise the docs parser wasn't picking up anything but the first line

@heff
Copy link
Member

heff commented Jul 28, 2014

Thank you!

If you're on IRC check out the #videojs room and chat with other contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants